package com.ruoyi.wms.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import com.ruoyi.wms.domain.entity.stock.EmployeeTask;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 员工任务视图对象 employee_task
 *
 * @author xhr
 * @date 2024-11-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EmployeeTask.class)
public class EmployeeTaskVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 员工id
     */
    private Long id;
    @ExcelProperty(value = "员工id")
    private Long employeeId;

    /**
     * 任务截止时间
     */
    @ExcelProperty(value = "任务截止时间")
    private Date completionTime;

    /**
     * 任务内容
     */
    @ExcelProperty(value = "任务内容")
    private String taskContent;

    /**
     * 当前任务状态
     */
    @ExcelProperty(value = "当前任务状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "employee_task_status")
    private Long status;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ExcelProperty(value = "修改时间")
    private Date updateTime;


}
